package com.springboot.bigevent.service;

import com.springboot.bigevent.pojo.Article;
import com.springboot.bigevent.pojo.PageBean;
import org.springframework.stereotype.Service;

@Service
public interface ArticleService {
    //新增文章
    void add(Article article);
    //文件分类；分类状态；分页查询
    PageBean<Article> list(Integer pageNum, Integer pageSize, String categoryId, String state);
    //删除文章
    void delete(String id);
}
